#pragma once
#include "actor.h"
#include <FTGL\ftgl.h>
#include <string>

class TextActor :
	public Actor
	{
	private:
		FTGLTextureFont *fuente;//probaremos compartiendola y sin compartir.
		std::string texto;
		unsigned int tamano;
	public:
		TextActor(std::string & rutaFuente, std::string & text, unsigned int size, ID actorID);
		void render();
		void update(float speedFactor);
		std::string &getText(){return texto;}
		void setText(std::string & text){texto = text;};
		~TextActor(void);
	};

